package com.lemon.cloud.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lemon.cloud.comm.po.RoleApplication;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

public interface RoleApplicationMapper extends BaseMapper<RoleApplication> {

    RoleApplication getDataScope(@Param("roleCode")String roleCode);

    boolean saveBatchRoleApp(@Param("entityList")Collection<RoleApplication> entityList);
}
